// 自动生成模板ProgramInfo
package autocode

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// ProgramInfo 结构体
// 如果含有time.Time 请自行import time包
type ProgramInfo struct {
      global.GVA_MODEL
      ProgramName  string `json:"programName" form:"programName" gorm:"column:program_name;comment:跳转小程序名称;size:30;"`
      Url  string `json:"url" form:"url" gorm:"column:url;comment:小程序图片链接;size:255;"`
      SourceO  string `json:"sourceO" form:"sourceO" gorm:"column:source_o;comment:配置参数1;size:100;"`
      SourceT  string `json:"sourceT" form:"sourceT" gorm:"column:source_t;comment:配置参数2;size:255;"`
      SourceTh  string `json:"sourceTh" form:"sourceTh" gorm:"column:source_th;comment:配置参数3;size:255;"`
      SourceF  string `json:"sourceF" form:"sourceF" gorm:"column:source_f;comment:配置参数4;size:255;"`
      Marks  *int `json:"marks" form:"marks" gorm:"column:marks;comment:参与活动奶滴数;size:10;"`
      IsDelete  *int `json:"isDelete" form:"isDelete" gorm:"column:is_delete;comment:（0-有效；1-无效）;size:10;"`
      Sour  *int `json:"sour" form:"sour" gorm:"column:sour;comment:排序;size:10;"`
}


// TableName ProgramInfo 表名
func (ProgramInfo) TableName() string {
  return "program_info"
}

